﻿using System;
using KludgeBox.Events;

namespace VectorSurvivors.GameWorld;

public readonly record struct WorldNetworkProcessEvent(World World) : IEvent;
public readonly record struct RegisterWorldRequest(World World) : IEvent;
public readonly record struct LocalPlayerSpawnedEvent(Player Player) : IEvent;

// Requests
public readonly record struct EntitySpawnRequest(string EntityType, int Id = -1) : IEvent;
public readonly record struct EntityAddRequest(Entity Entity) : IEvent;

public sealed record RequireWorldQuery : QueryEvent<World>;